package com.chenbei.erp.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.chenbei.erp.domain.SupplierInvoice;

public interface ISupplierInvoiceService extends IService<SupplierInvoice> {

    /**
     * 保存或更新
     * @param supplierInvoice 实例
     */
    void addOrUpdate(SupplierInvoice supplierInvoice);

    /**
     * 通过供应商ID获取发票信息
     * @param supplierId 供应商ID
     * @return WMSSupplierInvoice
     */
    SupplierInvoice getBySupplierId(Long supplierId);
}
